home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 6e 65 | 77 73 2e 64 72 65 78 65 |Path: ne|ws.drexe|
|00000010| 6c 2e 65 64 75 21 6e 65 | 77 73 0a 46 72 6f 6d 3a |l.edu!ne|ws.From:|
|00000020| 20 53 65 61 6e 20 50 20 | 4b 65 6c 6c 79 20 3c 73 | Sean P |Kelly <s|
|00000030| 74 39 34 65 34 38 35 40 | 70 6f 73 74 2e 64 72 65 |t94e485@|post.dre|
|00000040| 78 65 6c 2e 65 64 75 3e | 0a 4e 65 77 73 67 72 6f |xel.edu>|.Newsgro|
|00000050| 75 70 73 3a 20 63 6f 6d | 70 2e 6c 61 6e 67 2e 63 |ups: com|p.lang.c|
|00000060| 0a 53 75 62 6a 65 63 74 | 3a 20 52 65 3a 20 43 20 |.Subject|: Re: C |
|00000070| 61 6e 64 20 55 4e 49 58 | 20 69 6e 76 65 6e 74 65 |and UNIX| invente|
|00000080| 64 20 61 73 20 68 6f 61 | 78 0a 44 61 74 65 3a 20 |d as hoa|x.Date: |
|00000090| 46 72 69 2c 20 30 38 20 | 4d 61 72 20 31 39 39 36 |Fri, 08 |Mar 1996|
|000000a0| 20 31 36 3a 35 35 3a 31 | 34 20 2d 30 34 30 30 0a | 16:55:1|4 -0400.|
|000000b0| 4f 72 67 61 6e 69 7a 61 | 74 69 6f 6e 3a 20 44 72 |Organiza|tion: Dr|
|000000c0| 65 78 65 6c 20 55 6e 69 | 76 65 72 73 69 74 79 0a |exel Uni|versity.|
|000000d0| 4d 65 73 73 61 67 65 2d | 49 44 3a 20 3c 33 31 34 |Message-|ID: <314|
|000000e0| 30 39 45 42 32 2e 36 38 | 33 35 40 70 6f 73 74 2e |09EB2.68|35@post.|
|000000f0| 64 72 65 78 65 6c 2e 65 | 64 75 3e 0a 52 65 66 65 |drexel.e|du>.Refe|
|00000100| 72 65 6e 63 65 73 3a 20 | 3c 31 39 39 36 46 65 62 |rences: |<1996Feb|
|00000110| 31 39 2e 31 34 30 31 33 | 36 2e 31 40 77 69 6c 6c |19.14013|6.1@will|
|00000120| 6f 77 3e 20 3c 34 67 66 | 73 6c 36 49 4e 4e 69 61 |ow> <4gf|sl6INNia|
|00000130| 68 40 6b 65 61 74 73 2e | 75 67 72 61 64 2e 63 73 |h@keats.|ugrad.cs|
|00000140| 2e 75 62 63 2e 63 61 3e | 20 3c 34 67 6b 73 65 61 |.ubc.ca>| <4gksea|
|00000150| 24 65 69 76 40 61 74 75 | 73 6b 73 30 32 2e 61 75 |$eiv@atu|sks02.au|
|00000160| 74 2e 61 6c 63 61 74 65 | 6c 2e 61 74 3e 20 3c 33 |t.alcate|l.at> <3|
|00000170| 31 33 43 42 31 33 39 2e | 35 36 36 44 40 73 61 6e |13CB139.|566D@san|
|00000180| 64 69 61 2e 67 6f 76 3e | 0a 52 65 70 6c 79 2d 54 |dia.gov>|.Reply-T|
|00000190| 6f 3a 20 73 74 39 34 65 | 34 38 35 40 70 6f 73 74 |o: st94e|485@post|
|000001a0| 2e 64 72 65 78 65 6c 2e | 65 64 75 0a 4e 4e 54 50 |.drexel.|edu.NNTP|
|000001b0| 2d 50 6f 73 74 69 6e 67 | 2d 48 6f 73 74 3a 20 6e |-Posting|-Host: n|
|000001c0| 65 77 74 6f 77 65 72 32 | 2d 30 32 32 2e 72 65 73 |ewtower2|-022.res|
|000001d0| 6e 65 74 2e 64 72 65 78 | 65 6c 2e 65 64 75 0a 4d |net.drex|el.edu.M|
|000001e0| 69 6d 65 2d 56 65 72 73 | 69 6f 6e 3a 20 31 2e 30 |ime-Vers|ion: 1.0|
|000001f0| 0a 43 6f 6e 74 65 6e 74 | 2d 54 79 70 65 3a 20 74 |.Content|-Type: t|
|00000200| 65 78 74 2f 70 6c 61 69 | 6e 3b 20 63 68 61 72 73 |ext/plai|n; chars|
|00000210| 65 74 3d 75 73 2d 61 73 | 63 69 69 0a 43 6f 6e 74 |et=us-as|cii.Cont|
|00000220| 65 6e 74 2d 54 72 61 6e | 73 66 65 72 2d 45 6e 63 |ent-Tran|sfer-Enc|
|00000230| 6f 64 69 6e 67 3a 20 37 | 62 69 74 0a 58 2d 4d 61 |oding: 7|bit.X-Ma|
|00000240| 69 6c 65 72 3a 20 4d 6f | 7a 69 6c 6c 61 20 32 2e |iler: Mo|zilla 2.|
|00000250| 30 20 28 4d 61 63 69 6e | 74 6f 73 68 3b 20 49 3b |0 (Macin|tosh; I;|
|00000260| 20 50 50 43 29 0a 0a 4d | 61 72 79 20 50 20 52 6f | PPC)..M|ary P Ro|
|00000270| 65 68 72 69 67 20 77 72 | 6f 74 65 3a 0a 3e 20 49 |ehrig wr|ote:.> I|
|00000280| 20 61 6d 20 6e 65 77 20 | 74 6f 20 6e 65 77 73 67 | am new |to newsg|
|00000290| 72 6f 75 70 73 2c 20 61 | 6e 64 20 73 61 77 20 79 |roups, a|nd saw y|
|000002a0| 6f 75 72 20 63 6f 6d 6d | 65 6e 74 20 6f 6e 20 79 |our comm|ent on y|
|000002b0| 6f 75 72 20 70 72 65 66 | 65 72 65 6e 63 65 20 6f |our pref|erence o|
|000002c0| 66 20 50 65 72 6c 2e 0a | 3e 20 20 49 20 61 6d 20 |f Perl..|> I am |
|000002d0| 69 6e 20 74 68 65 20 70 | 72 6f 63 65 73 73 20 6f |in the p|rocess o|
|000002e0| 66 20 74 72 79 69 6e 67 | 20 74 6f 20 63 6f 6e 76 |f trying| to conv|
|000002f0| 65 72 74 20 61 20 50 65 | 72 6c 20 73 63 72 69 70 |ert a Pe|rl scrip|
|00000300| 74 20 69 6e 74 6f 20 43 | 20 73 6f 20 74 68 65 0a |t into C| so the.|
|00000310| 3e 20 50 65 72 6c 20 66 | 75 6e 63 74 69 6f 6e 61 |> Perl f|unctiona|
|00000320| 6c 69 74 79 20 63 61 6e | 20 62 65 20 69 6e 63 6f |lity can| be inco|
|00000330| 72 70 6f 72 61 74 65 64 | 20 69 6e 74 6f 20 61 20 |rporated| into a |
|00000340| 43 20 70 72 6f 67 72 61 | 6d 20 75 73 65 64 20 74 |C progra|m used t|
|00000350| 6f 20 70 72 6f 63 65 73 | 73 0a 3e 20 75 73 65 72 |o proces|s.> user|
|00000360| 20 69 6e 70 75 74 20 6f | 6e 20 74 68 65 20 57 65 | input o|n the We|
|00000370| 62 2e 20 20 44 6f 20 79 | 6f 75 20 6b 6e 6f 77 20 |b. Do y|ou know |
|00000380| 69 66 20 61 20 43 20 70 | 72 6f 67 72 61 6d 20 63 |if a C p|rogram c|
|00000390| 61 6e 20 6a 75 73 74 20 | 69 6e 63 6f 72 70 6f 72 |an just |incorpor|
|000003a0| 61 74 65 0a 3e 20 50 65 | 72 6c 20 73 69 6e 63 65 |ate.> Pe|rl since|
|000003b0| 20 74 68 65 20 6c 61 74 | 74 65 72 20 69 73 20 61 | the lat|ter is a|
|000003c0| 20 73 63 72 69 70 74 3f | 20 20 41 6e 79 20 68 65 | script?| Any he|
|000003d0| 6c 70 20 77 6f 75 6c 64 | 20 62 65 20 61 70 70 72 |lp would| be appr|
|000003e0| 65 63 69 61 74 65 64 2e | 0a 3e 20 0a 3e 20 4d 61 |eciated.|.> .> Ma|
|000003f0| 72 79 0a 3e 20 6d 72 6f | 65 68 72 40 73 61 6e 64 |ry.> mro|ehr@sand|
|00000400| 69 61 2e 67 6f 76 0a 0a | 49 27 6c 6c 20 61 73 73 |ia.gov..|I'll ass|
|00000410| 75 6d 65 20 79 6f 75 20 | 77 61 6e 74 20 74 6f 20 |ume you |want to |
|00000420| 65 78 65 63 75 74 65 20 | 74 68 65 20 50 65 72 6c |execute |the Perl|
|00000430| 20 73 63 72 69 70 74 20 | 69 6e 73 69 64 65 20 61 | script |inside a|
|00000440| 20 43 20 70 72 6f 67 72 | 61 6d 2e 20 20 54 68 69 | C progr|am. Thi|
|00000450| 73 20 69 73 20 65 61 73 | 79 20 75 73 69 6e 67 20 |s is eas|y using |
|00000460| 0a 55 6e 69 78 3a 0a 0a | 69 66 20 28 66 6f 72 6b |.Unix:..|if (fork|
|00000470| 28 29 3d 3d 30 29 20 20 | 7b 0a 20 20 65 78 65 63 |()==0) |{. exec|
|00000480| 6c 20 28 22 50 61 74 68 | 5f 74 6f 5f 50 65 72 6c |l ("Path|_to_Perl|
|00000490| 73 63 72 69 70 74 22 2c | 20 22 50 65 72 6c 73 63 |script",| "Perlsc|
|000004a0| 72 69 70 74 22 2c 20 4e | 55 4c 4c 29 3b 0a 20 20 |ript", N|ULL);. |
|000004b0| 70 72 69 6e 74 66 20 28 | 22 53 79 73 74 65 6d 20 |printf (|"System |
|000004c0| 65 72 72 6f 72 5c 6e 22 | 29 3b 0a 7d 0a 65 6c 73 |error\n"|);.}.els|
|000004d0| 65 20 77 61 69 74 20 28 | 4e 55 4c 4c 29 3b 0a 0a |e wait (|NULL);..|
|000004e0| 59 6f 75 20 6d 69 67 68 | 74 20 61 6c 73 6f 20 77 |You migh|t also w|
|000004f0| 61 6e 74 20 74 6f 20 74 | 72 79 20 6f 74 68 65 72 |ant to t|ry other|
|00000500| 20 6e 65 77 73 67 72 6f | 75 70 73 20 72 65 6c 61 | newsgro|ups rela|
|00000510| 74 65 64 20 74 6f 20 79 | 6f 75 72 20 73 70 65 63 |ted to y|our spec|
|00000520| 69 66 69 63 20 4f 53 2e | 0a 0a 0a 7e 7e 7e 7e 7e |ific OS.|...~~~~~|
|00000530| 7e 7e 7e 7e 7e 7e 7e 7e | 7e 7e 7e 7e 7e 7e 7e 7e |~~~~~~~~|~~~~~~~~|
|00000540| 7e 7e 7e 7e 7e 7e 7e 7e | 7e 7e 7e 7e 7e 7e 7e 7e |~~~~~~~~|~~~~~~~~|
|00000550| 7e 7e 7e 7e 7e 7e 7e 7e | 7e 7e 7e 7e 7e 7e 7e 7e |~~~~~~~~|~~~~~~~~|
|00000560| 7e 7e 7e 7e 7e 7e 7e 7e | 7e 7e 0a 20 53 65 61 6e |~~~~~~~~|~~. Sean|
|00000570| 20 50 20 4b 65 6c 6c 79 | 20 20 20 20 20 20 20 20 | P Kelly| |
|00000580| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000590| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000005a0| 20 20 20 44 72 65 78 65 | 6c 20 55 6e 69 76 65 72 | Drexe|l Univer|
|000005b0| 73 69 74 79 0a 20 73 74 | 39 34 65 34 38 35 40 70 |sity. st|94e485@p|
|000005c0| 6f 73 74 2e 64 72 65 78 | 65 6c 2e 65 64 75 20 20 |ost.drex|el.edu |
|000005d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000005e0| 20 20 20 45 6c 65 63 74 | 72 69 63 61 6c 20 45 6e | Elect|rical En|
|000005f0| 67 69 6e 65 65 72 69 6e | 67 0a 20 73 6b 69 70 70 |gineerin|g. skipp|
|00000600| 65 72 40 63 79 62 65 72 | 73 70 61 63 65 2e 63 6f |er@cyber|space.co|
|00000610| 6d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |m. | |
|00000620| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000630| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000640| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000650| 20 20 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | . | |
|00000660| 22 49 74 27 73 20 61 20 | 72 6f 75 67 68 20 6f 6c |"It's a |rough ol|
|00000670| 64 20 6c 69 66 65 2c 20 | 75 70 20 68 65 72 65 20 |d life, |up here |
|00000680| 6f 6e 20 74 68 65 20 77 | 61 67 6f 6e 22 20 20 20 |on the w|agon" |
|00000690| 20 20 20 20 20 20 20 20 | 0a 20 7e 7e 7e 7e 7e 7e | |. ~~~~~~|
|000006a0| 7e 7e 7e 7e 7e 7e 7e 7e | 7e 7e 7e 7e 7e 7e 7e 7e |~~~~~~~~|~~~~~~~~|
|000006b0| 7e 7e 7e 7e 7e 7e 7e 7e | 7e 7e 7e 7e 7e 7e 7e 7e |~~~~~~~~|~~~~~~~~|
|000006c0| 7e 7e 7e 7e 7e 7e 7e 7e | 7e 7e 7e 7e 7e 7e 7e 7e |~~~~~~~~|~~~~~~~~|
|000006d0| 7e 7e 7e 7e 7e 7e 7e 7e | 7e 7e 7e 0a |~~~~~~~~|~~~. |
+--------+-------------------------+-------------------------+--------+--------+